<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta charset='utf-8'>
        <meta name="author" content="order by dede58.com"/>
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<title>个人中心</title>
		<meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta http-equiv="Cache-Control" content="no-siteapp">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<meta name="keywords" content="">
		<meta name="description" content="">
		<link rel="stylesheet" type="text/css" href="css/base.css" />
		<link rel="stylesheet" type="text/css" href="css/common.css" />
		<link rel="stylesheet" type="text/css" href="css/my.css">
		<script src="js/jquery-1.8.3.min.js" type="text/javascript"></script>
		<script type="text/javascript" src="js/jquery.SuperSlide.2.1.js"></script>
		<script type="text/javascript" src="js/jquery-3.3.1.js"></script>
	    <script type="text/javascript" src="js/my.js"></script>
	</head>

	<body>

		<jsp:include page="title.jsp" flush="true" />
		<jsp:include page="navbar.jsp" flush="true" />


		<!--Main-wrap-->
		<div class="main-wrap graybg clearfix">
			<div class="wrapper pt40 pb40 clearfix">
				<div class="fl slide-nav white-box">
					<ul>
						<li class="on">
							<a href="${pageContext.request.contextPath}/userSelectById" class="db fs16">个人信息</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath}/Auction/selectByUserId" class="db fs16">我的竞拍</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath}/Order/selectOrderByUser" class="db fs16">我的订单</a>
						</li>
						
						<li>
							<a href="${pageContext.request.contextPath}/adressList" class="db fs16">收货地址</a>
						</li>
						
						
						<li>
							<a href="${pageContext.request.contextPath}/accountList" class="db fs16">账户余额</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath}/recharge" class="db fs16">在线充值</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath}/password" class="db fs16">修改密码</a>
						</li>						
					</ul>
				</div>
				<div class="fr slide-show white-box">
					<div class="dark-tit line-bot clearfix">
						<h3 class="fl fs26">个人信息</h3>
					</div>
					<div class="user-info mt50 clearfix">
						<form action="userUpdate" method="get">
						<div id="error"  class="error"></div>
							<div class="fl base-info">
								<ul>
									<li>
										<label class="fl l-option">昵称：</label><input type="text" class="fl ml10 "  name="userName" value="${User1.userName}">
									</li>
																					
								<li class="radio-li">
										<label class="fl l-option">性别：</label>
										<div class="radio-box">
											<input type="radio" class="radio-inline"  name="userSex" value="男" <c:if test="${User1.userSex=='男'}"> checked="checked" </c:if> ><label class="fs14" style="display: inline;">男</label>
											<input type="radio" class="ml10 radio-inline" name="userSex" value="女" <c:if test="${User1.userSex=='女'}">checked="checked" </c:if>><label class="fs14" style="display: inline;">女</label>
										</div>
									</li> 
									<li>
										<label class="fl l-option">年龄：</label><input type="text" class="fl ml10 age" name="userAge" value="${User1.userAge}">
									</li>									
									<li>
										<label class="fl l-option">电话：</label><input type="text" class="fl ml10 phone2"  name="userPhone" value="${User1.userPhone}" readonly="readonly">
									</li>
									<li>
										<label class="fl l-option">邮箱：</label><input type="text" class="fl ml10 email" name="userEmail" value="${User1.userEmail}">
									</li>
									<li>
										<label class="fl l-option">证件：</label><input type="text" class="fl ml10 idNum" placeholder="身份证号" name="userId_num" value="${User1.userId_num}">
									</li>
									<li>
										<label class="fl l-option">实名：</label><input type="text" class="fl ml10" placeholder="真实姓名" name="userRealName" value="${User1.userRealName}">
									</li>
									<li class="but-li pl10"><input type="submit" class="green-but radius3 fs16 ml50 vipUpdate" value="保存修改"></li>
								</ul>
							</div>
							<div class="fr user-photo pr50 mr10">
								<p class="photo"><img src="img/photo.jpg" alt="" /></p>
								<input type="button" onMouseMove="f.style.pixelLeft=event.x-60;f.style.pixelTop=this.offsetTop;" value="更换头像" onClick="f.click()" class="edit_photo fs14 green radius3 mt10">
								<input type="file" id="f" onChange="txt.value=this.value" name="f" class="files" size="1" hidefocus>
							</div>
						</form>

					</div>

				</div>

			</div>
		</div>
		<!--/end-->

		<jsp:include page="foot.jsp" flush="true" />

	</body>

</html>